package com.bootdo.system.domain;

import com.bootdo.common.utils.MyUtils;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 项目产品中间表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-06-24 19:11:08
 */
public class ProductInnerDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//id
	private Integer id;
	//产品id
	private Integer productId;

	private ProductDO productDO = new ProductDO();
	//项目id
	private Integer projectId;
	//是产品吗
	private Integer isProduct;
	//子系统名字
	private Integer sonsysId;

	private SonsysDO sonsysDO = new SonsysDO();
	//报价
	private Double baojia = 0.00;
	//数量
	private Integer proNum = 1;

    //总成本
    private Double allchengben = 0.00;
    //总报价
    private Double allbaojia = 0.00;
    //总利润
    private Double alllirun = 0.00;
	//利润比
	private Double profit = 0.00;
	//备注
	private String beizhu;
	//子系统排序
	private Integer orderId;

	//折扣
	private Double zhekou;

	//实际报价
	private Double shijibaojia;

	public void setZhekou(Double zhekou) {
		this.zhekou = zhekou;
	}

	public Double getShijibaojia() {
		return shijibaojia;
	}

	public void setShijibaojia(Double shijibaojia) {
		this.shijibaojia = shijibaojia;
	}

	public double getZhekou() {
		return zhekou;
	}

	public void setZhekou(double zhekou) {
		this.zhekou = zhekou;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public ProductDO getProductDO() {
		return productDO;
	}

	public void setProductDO(ProductDO productDO) {
		this.productDO = productDO;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getIsProduct() {
		return isProduct;
	}

	public void setIsProduct(Integer isProduct) {
		this.isProduct = isProduct;
	}

	public Integer getSonsysId() {
		return sonsysId;
	}

	public void setSonsysId(Integer sonsysId) {
		this.sonsysId = sonsysId;
	}

	public SonsysDO getSonsysDO() {
		return sonsysDO;
	}

	public void setSonsysDO(SonsysDO sonsysDO) {
		this.sonsysDO = sonsysDO;
	}

	public Double getBaojia() {
		return baojia;
	}

	public void setBaojia(Double baojia) {
		this.baojia = baojia;
	}

	public Integer getProNum() {
		return proNum;
	}

	public void setProNum(Integer proNum) {
		this.proNum = proNum;
	}

	public Double getAllchengben() {
		return allchengben;
	}

	public void setAllchengben(Double allchengben) {
		this.allchengben = allchengben;
	}

	public Double getAllbaojia() {
		return allbaojia;
	}

	public void setAllbaojia(Double allbaojia) {
		this.allbaojia = allbaojia;
	}

	public Double getAlllirun() {
		return alllirun;
	}

	public void setAlllirun(Double alllirun) {
		this.alllirun = alllirun;
	}

	public Double getProfit() {
		return profit;
	}

	public void setProfit(Double profit) {
		this.profit = profit;
	}

	public String getBeizhu() {
		return beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}


	@Override
	public String toString() {
		return "ProductInnerDO{" +
				"id=" + id +
				", productId=" + productId +
				", productDO=" + productDO +
				", projectId=" + projectId +
				", isProduct=" + isProduct +
				", sonsysId=" + sonsysId +
				", sonsysDO=" + sonsysDO +
				", baojia=" + baojia +
				", proNum=" + proNum +
				", allchengben=" + allchengben +
				", allbaojia=" + allbaojia +
				", alllirun=" + alllirun +
				", profit=" + profit +
				", beizhu='" + beizhu + '\'' +
				", orderId=" + orderId +
				", zhekou=" + zhekou +
				", shijibaojia=" + shijibaojia +
				'}';
	}
}
